home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
odoors41.zip
/
EX_HELLO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-26
|
636b
|
18 lines
/* EX_HELLO.C - Example of a trivial OpenDoors door program. Demonstrates just
* how simple a fully functional door program can be.
*/
#include "opendoor.h" /* Required in any OpenDoors program */
main()
{ /* Display a message */
od_printf("Hello world! This is a very simple door program.\n\r");
od_printf("Press any key to return to the BBS!\n\r");
od_get_key(TRUE); /* Wait for user to press a key */
od_exit(10, FALSE); /* Exit door */
}